﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Project_KhuyenMaiVang.Models
{
    public class HinhAnhDTO
    {
        private int _MaHinhAnh;
        private string _TenHinhAnh;
        private string _Link;
        private string _MoTa;
        private int _MaSanPham;

        public int MaSanPham
        {
            get { return _MaSanPham; }
            set { _MaSanPham = value; }
        }
        public HinhAnhDTO()
        {}

        public HinhAnhDTO(int maSp,String tenhinh)
        {
            this.MaSanPham = maSp;
            this.TenHinhAnh = tenhinh;
        }

        public string MoTa
        {
            get { return _MoTa; }
            set { _MoTa = value; }
        }

        public string Link
        {
            get { return _Link; }
            set { _Link = value; }
        }

        public string TenHinhAnh
        {
            get { return _TenHinhAnh; }
            set { _TenHinhAnh = value; }
        }

        public int MaHinhAnh
        {
            get { return _MaHinhAnh; }
            set { _MaHinhAnh = value; }
        }
    }
}